$OpenBSD: patch-storage_connect_reldef_cpp,v 1.8 2017/01/20 10:03:10 sthen Exp $
--- storage/connect/reldef.cpp.orig	Wed Jan 11 20:45:21 2017
+++ storage/connect/reldef.cpp	Wed Jan 18 21:06:16 2017
@@ -521,6 +521,10 @@ PTABDEF OEMDEF::GetXdef(PGLOBAL g)
 #else   // !__WIN__
   const char *error = NULL;
     
+#ifndef RTLD_NOLOAD
+#define RTLD_NOLOAD 0
+#endif
+
 #if 0  // Don't know what all this stuff does
 	Dl_info dl_info;
 
